package frame;

import tree.BINOP;
import tree.Exp;

public class InFrame extends Access {
	int offset;
	
	public InFrame(int o){
		offset = o;
	}
	@Override
	public Exp exp(Exp framePtr) {
		return new BINOP(BINOP.MINUS, framePtr, new tree.CONST(offset));
	}
}
